package com.lrs.java.j2se_self.ioReview;
import java.io.*;
public class TestFileWriter2 {
	public static void main(String[] args){
		FileWriter fw =null;
		try{
			fw = new FileWriter("C:\\test4.java");
			for(int i = 0;i<50000;i++){
				fw.write(i);
			}
			fw.close();
		}catch(FileNotFoundException e){
			e.printStackTrace();
		}catch(IOException e2){
			e2.printStackTrace();
		}
	}
}
